'Declaration
Public Overloads Function GetValueOrDefault(Of T)( _ ByVal propertyName As System.String, _ ByVal defaultValue As T _ ) As T
'Usage
Dim instance As PropertyValueCollection Dim propertyName As System.String Dim defaultValue As T Dim value As T value = instance.GetValueOrDefault(Of T)(propertyName, defaultValue)
public T GetValueOrDefault<T>( System.string propertyName, T defaultValue )
Parameters
- propertyName
- The name of the property
- defaultValue
- The value to return if the property name is not found
Type Parameters
- T